demo_path = 'aesTest\\write_demo.txt'

with open(demo_path, 'wb') as outfile:
    for i in range(10):
        outfile.write(b'1111')

with open(demo_path,'wb') as override_outfile:
    override_outfile.write(b'0000')
